package com.bml.architect.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Fox
 */
@ApiModel(description = "订单实体")
public class OrderVo {

    @ApiModelProperty(dataType = "string", notes = "用户ID")
    private String userId;

    @ApiModelProperty(dataType = "string", notes = "商品编号")
    private String commodityCode;

    @ApiModelProperty(dataType = "int", notes = "库存数量")
    private Integer count;

    @ApiModelProperty(dataType = "int", notes = "订单金额")
    private Integer money;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCommodityCode() {
        return commodityCode;
    }

    public void setCommodityCode(String commodityCode) {
        this.commodityCode = commodityCode;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "OrderVo{" +
                "userId='" + userId + '\'' +
                ", commodityCode='" + commodityCode + '\'' +
                ", count=" + count +
                ", money=" + money +
                '}';
    }
}
